Release 10.1A: OpenEdge Development:
Web Services
Using object IDs in a SOAP message
This is a sample header of a SOAP message containing an object ID for the object specified in the sample WSDL, using the WSDL-defined
<OrderInfoID>SOAP element:
The value of the object ID appears in bold, contained by the
<UUID>element.The same basic
<OrderInfoID>element contains the object ID in the SOAP response header that initially returns theOrderInfoIDobject ID, when the object is created, and is required in any subsequent SOAP request header sent by methods invoked on theOrderInfoobject.Thus, for all Web service objects that require object IDs, your client application must parse out the object ID value in the
<UUID>element contained by the object ID element (<OrderInfoID>in the example) and returned in the SOAP response header at object creation, whether it happens automatically or you must program it explicitly. Similarly, for every SOAP request sent by a method invoked on this same object, your client application must create an object ID element containing a<UUID>element that holds this identical object ID value in the SOAP header of the request message.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |